home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / appsrcs.zip / APPFINDR.ZIP / APPFINDR.TXT < prev    next >
Text File  |  1993-04-29  |  3KB  |  65 lines

  1. AppFinder.
  2.  
  3. I have used the original sources of vi.exe (are included)as a
  4. starting point for AppFinder. So some things such as the setting of the
  5. window size are somewhat strange, but left overs from vi.exe which
  6. I didn't change yet.
  7.  
  8. AppFinder in principle works as follows:
  9. three hidden listboxes are created, one to list just all drives, these
  10. drives are put on AppFinder's menu and can be used to change drives.
  11. the other two listboxes are filled with only directories  and filenames
  12. resp., this way was very simple to determine whether a file or dir was
  13. selected (dir if currentselection is < DirCount, file otherwise). Then
  14. all drives and file are displayed with an icon and dir/file name. (if there
  15. are more items then can be listed in the window, the window is filled and
  16. a scrollbar is displayed).
  17.  
  18. When the user selected an icon, the position of the mouse is used to
  19. calculted which icon is clicked, and together with a possible scrollbar
  20. offset, the selected filenumber (between 0 - FileCount) is calculted.
  21. if selection is < Dircount a directory is selected, when the user double
  22. clicks the current dir is set to this dir, and the dir&file listboxes
  23. are updated and displayed agian.
  24. If selection > Dircount a file was selected, and on doubleclick this file
  25. or it's associated executable is launched. Or this file is used as dropfile.
  26.  
  27. That's basically all.
  28.  
  29. Bugs:
  30. -The scrollbar can not always be scrolled to the bottom.
  31. -No special icon is displayed for the windows directory.
  32. -the check for the dos directory ( and also for the windows and
  33.  windows system dir) is not waterproof.
  34. -the current path is not set as windowcaption on startup.
  35. -the sysfoldr.ico is not the first icon in the *.rc file
  36. -can not the detect the difference between a dos exe file and
  37.  a windows exe without an icon resource.
  38.  
  39. Suggestions:
  40. - change the color of the folder icon (I liked light blue,
  41.   but I have a B&W monitor, so it became grey )
  42. - highlight not only the text on selection, but also the icon.
  43. - add icons or bmp's to the drive characters. (are included)
  44. - change the [dir] to dir, but printed in bolditalic.
  45.  
  46. I had originally the idea to make somehting like the Mac Finder
  47. or the NDW: a caption and menu screen wide at the top of the monitor,
  48. and drive icons on the side of the screen. Then from these drive
  49. icons multiple instances of a modified AppFinder could launched, and
  50. files&dirs could be dragged&dropped from one instance to another, and
  51. files launched from the instances. The main menu could provide some
  52. basic file i/0 options, but to make life easy provide a way that 
  53. users could easily add their own favarite utilities to this main
  54. menu. This way an user could built it's own favorite and powerful
  55. shell, and I should have to write all these additions like, file
  56. search, diskcopy, screen blanker etc...
  57.  
  58. But the idea you mailed to make AppFinder more like an "icon showing"
  59. filemanager is also not a bad idea. 
  60. As I handle things to you, you should determine which way  you like
  61. to develop AppFinder.
  62.  
  63. Good Luck, geert
  64.  
  65.